import java.util.concurrent.atomic.AtomicLong;


public class Counter {
	private AtomicLong counter;

	public long getCounter() {
		return this.counter.get();
	}

	public void incCounter(){
		this.counter.getAndIncrement();
	}
	public Counter(){
		this.counter=new AtomicLong(0);
		System.out.println(this.counter.get());
	}
	
}
